package com.guigu.liuyunan.controller;

import com.guigu.tankai.pojo.Member;
import com.guigu.tankai.service.MemberService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("LYN")
public class MemberController {

    @Autowired
    MemberService ms;

    @GetMapping("memberInfo")
    public Member memberInfo(String name){
        return ms.memberInfo(name);
    }


}
